package com.sykj.why.mongo.document.entity;

import com.sykj.why.mongo.document.BaseDocument;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author Eleven
 * @date 2019/7/3
 * @desc 相关证明材料
 */

@Document
@Setter
@Getter
@ApiModel(value = "相关证明资料")
public class RelevantCertificateT extends BaseDocument {

    /** 用户ID */
    @ApiModelProperty(value = "用户ID")
    private String userId;

    /** 资料名称 */
    @ApiModelProperty(value = "资料名称")
    private String name;

    /** 资料保存路径 */
    @ApiModelProperty(value = "资料保存路径")
    private String url;

    /** 文件大小 */
    @ApiModelProperty(value = "文件大小")
    private long size;

    /** 文件类型 */
    @ApiModelProperty(value = "文件类型")
    private String ext;

}
